# -*- coding: utf-8 -*-
# @Time: 2025/9/19 1:47
# @Author: foxhuty
# @File: api_note.py
from sys import flags
import asyncio
from timer import async_timer

import httpx


# try:
#     from fastapi import FastAPI
#     print("fastapi 导入成功")
# except ImportError:
#     raise ImportError("请先安装fastapi")
# a:int = 42
# b:int = 42
# c:str = "hello"
# lst:list = [1,2,3]
# dic:dict = {"a":a,"b":b,"c":c}
# flags:bool = True
# stop:None= None

@async_timer
async def main():
    print('hello')
    await asyncio.sleep(1)
    print('world')

def is_adult(age: int)->bool:
    if age >= 18:
        return True
    else:
        return False
if __name__ == '__main__':
    # asyncio.run(main())
    print(is_adult(17))
